package com.design.designmode.struct.flyweight;

/**
 * @author hxl
 * @since 2023-04-17
 */
public class Circle extends Shape {
    public Circle(String color) {
        this.color = color;
    }


    @Override
    public void draw(int x, int y) {
        System.out.println("draw a color：" + color + " circle x：" + x + " y：" + y);
    }
}
